package com.aizuda.boot.modules.business.contractName.domain.entity;

import com.aizuda.boot.modules.common.constant.enums.Component;
import com.aizuda.core.bean.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @Author sangyirong
 * @ClassName ContractNameRuleComponent
 * @Version 1.0
 * @Date 2025/7/4 14:46
 */
@Data
@Schema(description = "合同名称生成规则组件")
public class ContractNameRuleComponent extends BaseEntity {

    @Schema(description = "合同名称生成规则ID")
    private Long ruleId;

    @Schema(description = "合同名称生成规则组件ID")
    private Component componentType;

    @Schema(description = "合同名称生成规则组件值")
    private String componentValue;

    @Schema(description = "合同名称生成规则组件顺序")
    private Integer sortOrder;
}
